#ifndef NOTEWIDGET_H
#define NOTEWIDGET_H

#include "notemapper.h"
#include <QWidget>

namespace Ui {
class NoteWidget;
}

class NoteWidget : public QWidget
{
    Q_OBJECT

public:
    explicit NoteWidget(QWidget *parent = nullptr);
    ~NoteWidget();

signals:
    void newNoteIntoTable();

private slots:
    void on_addNote_clicked();

    void updateListView();

private:
    Ui::NoteWidget *ui;

    NoteMapper *noteMapper;
};

#endif // NOTEWIDGET_H
